Script

Block Group: Logic
Icon: Script block icon

Holds a custom script.


Input/Output Properties

These properties can take input and give output.

invoke causes the script to run.

autoRun specifies whether the script runs automatically.

script specifies the instance of DGScript held by this block.

a–z set or return the values of properties that you can use in your script as needed.


Output Properties

These properties can give output. They cannot take input.

output returns the output of your script.

print returns a string that is used for errors, other notifications, and for debugging.


Model

This script converts a base 10 number to base 16.

Script dataflow model

This script converts the first input string to uppercase letters and the second input string to lowercase letters. It concatenates them with a middle string that includes a space and some punctuation.

Script dataflow model